#ifndef __BITONIC_INTERFACE_H
#define __BITONIC_INTERFACE_H

#include <stdint.h>
#include <mpi.h>

/* Size of the data */
typedef uint32_t data_t;
#define CMPI_DATA_T MPI_UINT32_T 

enum cmpi_tags {
	CMPI_ALL
};

enum cmpi_cmd {
	CMPI_DO_SINGLE,
	CMPI_DO_REC,
	CMPI_EXIT
};

void bitonic_merge_master(data_t*, long, int, int);
void bitonic_merge_child(int, int);

#endif
